home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Word 5
/
The Word 5.adf
/
FiLeS
/
AREXX_EXAMPLES.lha
/
AREXX_EXAMPLES
/
Example12.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-02-25
|
380b
|
13 lines
/* Example 12 */
fileptr = "tempfile"
path = "RAM:TempFile"
If Open(fileptr, path, "W") Then Do /* Here is A DO */
Call Writeln(fileptr, "This is Line 1")
Call Writeln(fileptr, "This is Line 2")
Call Writeln(fileptr, "This is Line 3")
Call Close(fileptr)
End /* Here is A END */
Else
Say "Unable to create and write file..."